package lsd;

public interface IoFilterChainBuilder {
    /**
     * An implementation which does nothing.
     */
    IoFilterChainBuilder NOOP = new IoFilterChainBuilder() {
                                  public void buildFilterChain(int num) throws Exception {
                                  }

                                  @Override
                                  public String toString() {
                                      return "NOOP";
                                  }
                              };

    /**
     * Modifies the specified <tt>chain</tt>.
     */
    void buildFilterChain(int num) throws Exception;

}